public class Process {
    String name;  
    String status;  
    int timeSlice;  
    int priority;  

    public Process(String name, String status, int timeSlice, int priority) {  
        this.name = name;  
        this.status = status;  
        this.timeSlice = timeSlice;  
        this.priority = priority;  
    }  

    public String toString() {  
        return "Name: " + name + ", Status: " + status + ", Time Slice: " + timeSlice + ", Priority: " + priority;  
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public int getTimeSlice() {
        return timeSlice;
    }

    public void setTimeSlice(int timeSlice) {
        this.timeSlice = timeSlice;
    }

    public int getPriority() {
        return priority;
    }

    public void setPriority(int priority) {
        this.priority = priority;
    }
}